#pragma once
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <memory>

#include "general-exception.hpp"

namespace my_socket
{
    sockaddr_in internetStructInit(sa_family_t sin_family, short port_h, const char* ip_h);
    sockaddr_in internetStructInit(sa_family_t sin_family, short port_h, in_addr_t ip_h);
}